import { Injectable } from '@nestjs/common';
import { Book } from './book.model';

@Injectable()
export class BookRepository {
    constructor() {}
    async index() {
        // console.log(this.bookModel)
        // return [1,2,3,4]
        return await Book.findAll()
    }
}